
import rospy
from nav_msgs.msg import Odometry
from geometry_msgs.msg import Twist


def pos_handler(data):
    print('recieved')
    # pos_vel1 = Twist()
    pos = data.pose.pose.position
    print(pos)

if __name__ == "__main__":
    rospy.init_node('gps_pose_node', anonymous=True)
    rospy.Subscriber('vo', Odometry, pos_handler)
    rospy.spin()